home *** CD-ROM | disk | FTP | other *** search
/ All for Cell Phones: Sony Ericsson / Sony-Ericsson 2004.iso / Java / AtomicClock / AtomicClock.jar / AtomicClock$c.class (.txt) < prev   
Encoding:
Java Class File  |  2002-08-28  |  2.2 KB  |  109 lines

  1. class AtomicClock$c extends Thread {
  2.    // $FF: renamed from: if boolean
  3.    private boolean field_0;
  4.    // $FF: renamed from: a boolean
  5.    private boolean field_1;
  6.    // $FF: synthetic field
  7.    private final AtomicClock this$0;
  8.  
  9.    AtomicClock$c(AtomicClock var1) {
  10.       this.this$0 = var1;
  11.       this.field_0 = true;
  12.       this.field_1 = false;
  13.    }
  14.  
  15.    public synchronized void run() {
  16.       while(this.field_0) {
  17.          while(!this.field_1) {
  18.             try {
  19.                this.wait();
  20.             } catch (Exception var3) {
  21.                this.this$0.a("Problem in Counter wait\n" + var3);
  22.             }
  23.          }
  24.  
  25.          if (this.field_0) {
  26.             AtomicClock.access$602(AtomicClock.access$800(AtomicClock.access$700()) + ":" + AtomicClock.access$800(AtomicClock.access$900()) + ":" + AtomicClock.access$800(AtomicClock.access$1000()));
  27.             AtomicClock.access$1200().setText(AtomicClock.access$600() + "  (" + AtomicClock.access$1100() + ")");
  28.  
  29.             try {
  30.                Thread.sleep(1000L);
  31.             } catch (Exception var2) {
  32.                this.this$0.a("Atomic Clock interrupted\n" + var2);
  33.             }
  34.  
  35.             AtomicClock.access$1008();
  36.             if (AtomicClock.access$1000() == 60) {
  37.                AtomicClock.access$908();
  38.                AtomicClock.access$1002(0);
  39.                if (AtomicClock.access$900() == 60) {
  40.                   AtomicClock.access$708();
  41.                   AtomicClock.access$902(0);
  42.                   if (AtomicClock.access$700() == 24) {
  43.                      AtomicClock.access$702(0);
  44.                   }
  45.                }
  46.             }
  47.          }
  48.       }
  49.  
  50.    }
  51.  
  52.    // $FF: renamed from: do () void
  53.    private synchronized void method_0() {
  54.       if (!this.field_1) {
  55.          this.field_1 = true;
  56.  
  57.          try {
  58.             this.notify();
  59.          } catch (Exception var2) {
  60.             this.this$0.a("Application error 1");
  61.          }
  62.       }
  63.  
  64.    }
  65.  
  66.    // $FF: renamed from: if () void
  67.    private void method_1() {
  68.       this.field_0 = true;
  69.       this.field_1 = false;
  70.  
  71.       try {
  72.          this.notify();
  73.       } catch (Exception var2) {
  74.          this.this$0.a("Application error 2");
  75.       }
  76.  
  77.    }
  78.  
  79.    // $FF: renamed from: a () void
  80.    private synchronized void method_2() {
  81.       if (!this.field_1) {
  82.          try {
  83.             this.notify();
  84.          } catch (Exception var2) {
  85.             this.this$0.a("Application error 3");
  86.          }
  87.  
  88.          this.field_1 = true;
  89.       }
  90.  
  91.       this.field_0 = false;
  92.    }
  93.  
  94.    // $FF: synthetic method
  95.    static void access$100(AtomicClock$c var0) {
  96.       var0.method_2();
  97.    }
  98.  
  99.    // $FF: synthetic method
  100.    static void access$500(AtomicClock$c var0) {
  101.       var0.method_1();
  102.    }
  103.  
  104.    // $FF: synthetic method
  105.    static void access$1500(AtomicClock$c var0) {
  106.       var0.method_0();
  107.    }
  108. }
  109.